package cn.backpackerxl.pojo;

import cn.backpackerxl.easyJDBC.annotation.DFormat;
import cn.backpackerxl.easyJDBC.annotation.ParesType;
import cn.backpackerxl.easyJDBC.util.PType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: backpackerxl
 * @create: 2022/2/17
 * @filename: Comment
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    @ParesType(PType.INT)
    private Long id;
    private String name;
    private String context;
    @DFormat
    private Date createTime;
    private Long replayId;
}
